#ifndef __RS485_H
#define __RS485_H



#include "system.h"


#define RS485_TX_EN        GPIO_SetBit(GPIOB,0)
#define RS485_RX_EN        GPIO_ClrBit(GPIOB,0)


extern uint8_t data2;



void RS485_Init(uint32_t u32Bound);
void RS485_Send_Data(uint8_t *buf,uint8_t len);
void RS485_Deal(void);
void sing_out_app(uint8_t num);
void change_page(uint8_t num,uint8_t i);
void send_to_485(void);
#endif /*__RS485_H*/





